allow domain heap allocations to specify more than one NUMA node
authorJan Beulich <jbeulich@suse.com>
Fri, 6 Mar 2015 16:27:33 +0000 (17:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 6 Mar 2015 16:27:33 +0000 (17:27 +0100)
commita7596378e454773220a0003e18295a064f2c472c
tree99cc3b7e621e609a9fcfa0f39a3f2771f5600a41
parent705313c093b7c6eb72e2842c22a9f05201924ab4
allow domain heap allocations to specify more than one NUMA node

... using struct domain as a container for passing the respective
affinity mask: Quite a number of allocations are domain specific, yet
not to be accounted for that domain. Introduce a flag suppressing the
accounting altogether (i.e. going beyond MEMF_no_refcount) and use it
right away in common code (x86 and IOMMU code will get adjusted
subsequently).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/grant_table.c
xen/common/memory.c
xen/common/page_alloc.c
xen/include/xen/mm.h